﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS2320.Domain.DBEntity
{
    [Table("PerformanceRecord")]
    public partial class PerformanceRecord
    {
        [Key]
        public Guid Id { get; set; }
        /// <summary>
        /// 计划生产数量
        /// </summary>
        public float? PlantQuantity { get; set; }
        /// <summary>
        /// 计划生产时间
        /// </summary>
        public float? PlantRunTime{ get; set; }
        /// <summary>
        /// 运行生产时间
        /// </summary>
        public float? TotalRunTime { get; set; }
        /// <summary>
        /// 设备故障时间
        /// </summary>
        public float? FaultTime { get; set; }
        /// <summary>
        /// 设备停机时间
        /// </summary>
        public float? StopTime { get; set; }
        /// <summary>
        /// 设备生产总量
        /// </summary>
        public float? TotalQuantity { get; set; }
        /// <summary>
        /// 设备生产良率
        /// </summary>
        public float? ProductYield { get; set; }

        /// <summary>
        /// 设备生产良率
        /// </summary>
        public float? OEE { get; set; }
 
        public string? Remarks { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? CreatedTime { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? ModifiedTime { get; set; }
    }
}
